<div id="chartOptions" class="block_left">
	<h3>Grafiek opties</h3>
	<div class="block_left_content">
		<table>
			<tr>
				<td colspan="2">
					<b>Weergave</b>
				</td>
			</tr>
			<tr>
				<td>
					Waardes Y as:
				</td>
				<td>
					<select id="chart-y-count" name="select1" onchange="redirectReplace('chart-y-count', document.getElementById('chart-y-count').value)">
						<?php
							for($i = $select1MinVal; $i < $select1MaxVal; $i++) { 
								if($i == $select1){
									echo ("<option value=". $i ." selected='selected'>". $i ."</option>");
								} else {
									echo ("<option value=". $i .">". $i ."</option>");
								}
							}
						?>
					</select>
				</td>
			</tr>			
			<tr>
				<td>
					Weergave per:
				</td>
				<td>
					<select id="chart-time-unit" name="select2" onchange="redirectReplace('chart-time-unit', document.getElementById('chart-time-unit').value)">
						<?php
							foreach($select2Options as $value) { 
								if($select2 == $value){
									echo ("<option value=". $value ." selected='selected'>". $value ."</option>");
								} else {
									echo ("<option value=". $value .">". $value ."</option>");
								}
							}
						?>
						
<!-- 						<option value="minuut">Minnut</option> -->
<!-- 						<option value="uur">Uur</option> -->
<!-- 						<option value="dag" selected="selected">Dag</option> -->
<!-- 						<option value="WEEK">Week</option> -->
<!-- 						<option value="MONTH">Maand</option> -->
<!-- 						<option value="YEAR">Jaar</option> -->
					</select>
				</td>
			</tr>
		</table>
	</div>
</div>